package com.atguigu;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * @program: IDEAcode
 * @description:
 * @author: Mr.zjx
 * create: 2021-08-13-21-19
 **/
public class Test04 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("G:\\尚硅谷学习\\学习视频\\Java及数据库\\day19\\笔记\\mytxt\\1.txt",true);
        fos.write("abcd\r\n".getBytes());
        fos.write("hello".getBytes());
        fos.close();
    }
}
